package com.lottery.system.service;

/**
 * @author: xiaoxie
 * create: 2024-09-04 11:23
 * @BelongsProject: lottery-system
 * @BelongsPackage: com.lottery.system.service
 * description: 验证码
 */
public interface VerificationCodeService {
    /**
     * @description: 设置验证码
     * @author: xiaoxie
     * @date: 2024/9/4 11:28
     * @param: [phoneNumber]
     * @return: void
     **/
    void setVerificationCode(String phoneNumber);

    /**
     * @description: 根据手机号获取验证码
     * @author: xiaoxie
     * @date: 2024/9/4 11:29
     * @param: [phoneNumber]
     * @return: java.lang.String
     **/
    String getVerificationCode(String phoneNumber);
}
